GtkFileChooser: Make preview update more understandable
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Oct 2014 21:54:28 +0000 (17:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Oct 2014 21:54:28 +0000 (17:54 -0400)
commitf678e48a08a376cbed060b52cd9746febf44c6cc
treed8d3d1f125659c0f3a1164fb68a293097df34e52
parent38b315d0be0e2d4424cf590780478dc2ed32944c
GtkFileChooser: Make preview update more understandable

Implement Federico's suggestion:
In single-selection mode, just use the selected row,
In multi-selection mode, use the cursor row as long as it is
in the selection.

https://bugzilla.gnome.org/show_bug.cgi?id=154709
gtk/gtkfilechooserwidget.c